Part Number Hot Search : 
MSJ200 2N4240 DMN2005 SHE124AE 4ALVC 16NF10 00V25 XE0055S2
Product Description
Full Text Search
 

To Download MDT2030 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 MDT2030(AE)
1. General Description
u This ROM-Based 8-bit micro-controller uses a fully static CMOS technology process to achieve high speed, small size, the low power and high noise immunity. On chip memory includes 2K words EPROM, and 80 bytes static RAM. u u 150 s, 20 ms, 40 ms, 80 ms 8-bit real time clock/counter(RTCC) with 8-bit programmable prescaler On-chip RC oscillator based Watchdog Timer(WDT) 12 I/O pins with their own independent direction control
3. Applications
The application areas of this MDT2030 range from appliance motor control and high speed automotive to low power remote transmitters/receivers, pointing devices, and telecommunications processors, such
2. Features
The followings are some of the features on the hardware and software : u u u u Fully CMOS static design 8-bit data bus On chip EPROM size : 2.0 K words Internal RAM size : 80 bytes (73 general purpose registers, 7 special registers) u u u u u u 36 single word instructions 14-bit instructions 2-level stacks Operating voltage : 2.3 V ~ 5.5 V Operating frequency : 0 ~ 20 MHz The most fast execution time is 200 ns under 20 MHz in all single cycle instructions except the branch instruction u Addressing modes include direct, indirect and relative addressing modes u u u u Power-on Reset Power edge-detector Reset Sleep Mode for power saving 4 types of oscillator can be selected by programming option: RCLow cost RC oscillator LFXTLow frequency crystal oscillator XTALStandard crystal oscillator HFXTHigh frequency crystal oscillator u 4 oscillator start-up time can be selected by programming option:
as Remote controller, small instruments, chargers, toy, automobile and PC peripheral ... etc.
4. Pin Assignment DIP/ SOP PA2 1 18 PA3 2 17 RTCC 3 16 /MCLR 4 15 Vss 5 14 PB0 6 13 PB1 7 12 PB2 8 11 PB3 9 10 PA2 PA3 RTCC /MCLR VSS VSS PB0 PB1 PB2 PB3 1 2 3 4 5 6 7 8 9 10 SSOP 20 19 18 17 16 15 14 13 12 11
PA1 PA0 OSC1 OSC2 Vdd PB7 PB6 PB5 PB4 PA1 PA0 OSC1 OSC2 VDD VDD PB7 PB6 PB5 PB4
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 1
2005/6
Ver. 1.4
MDT2030(AE)
5. Block Diagram
Stack Two Levels
EPROM 2048X14
RAM 73X8
Port PA0~PA3 4 bits Port A
11 bits 11 bits Program Counters 14 bits Instruction Register
Special Register Port PB0~PB7 8 bits Port B
OSC2 OSC1 MCLR
D0~D7
Oscillator Circuit
Instruction Decoder
Control Circuit
Data 8-bit Power on Reset Power Down Reset Working Register ALU Status Register
8-bit Timer/Counter
Prescale
WDT/OST Timer
RTCC
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 2
2005/6
Ver. 1.4
MDT2030(AE)
6. Pin Function Description
Pin Name PA0~PA3 PB0~PB7 RTCC /MCLR OSC1 OSC2 Vdd Vss I/O I/O I/O I I I O Port A, TTL input level Port B, TTL input level Real Time Clock/Counter, Schmitt Trigger input levels Master Clear, Schmitt Trigger input levels Oscillator Input Oscillator Output Power supply Ground Function Description
7. Memory Map
(A) Register Map
Address 00 01 02 03 04 05 06 07~1F 30~3F 50~5F 70~7F
Description Indirect Addressing Register RTCC PC STATUS MSR Port A Port B Internal RAM, Memory bank 0 Internal RAM, Memory bank 1 Internal RAM, Memory bank 2 Internal RAM, memory bank 3
(1) IAR ( Indirect Address Register) : R0 (2) RTCC (Real Time Counter/Counter Register) : R1
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 2
2005/6
Ver. 1.4
MDT2030(AE)
(3) PC (Program Counter) : R2 Write PC, CALL --- always 0 JUMP --- from instruction word RTWI, RET --- from STACK
A10
A9
A8
A7~A0
Write PC, JUMP, CALL --- from STATUS b6 b5 RTWI, RET --- from STACK
Write PC --- from ALU JUMP, CALL --- from instruction word RTWI, RET --- from STACK
(4) STATUS (Status register) : R3 Bit
0 1 2 3 4 6X5
Symbol
C HC Z PF TF page Carry bit Half Carry bit Zero bit
Function
Power loss Flag bit WDT Timer overflow Flag bit ROM page select bit : 00 : Page 0, 000H --- 1FFH 01 : Page 1, 200H --- 3FFH 10 : Page 2, 400H --- 5FFH 11 : Page 3, 600H --- 7FFH
7
XX
General purpose bit
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 3
2005/6
Ver. 1.4
MDT2030(AE)
(5) MSR (Memory Bank Select Register) : R4 Memory Bank Select Register : 00 : 10~1F 01 : 30~3F 10 : 50~5F 11 : 70~7F
b7
b6
b5
b4
b3
b2
b1
b0
Read only "1" Indirect Addressing Mode (6) PORT A : R5 PA3~PA0, I/O Register (7) PORT B : R6 PB7~PB0, I/O Register (8) TMR (Time Mode Register) Bit Symbol Prescaler Value 000 001 010 011 2X0 PS2X0 100 101 110 Function RTCC rate 1:2 1:4 1:8 1 : 16 1 : 32 1 : 64 1 : 128 WDT rate 1:1 1:2 1:4 1:8 1 : 16 1 : 32 1 : 64
3
PSC
4
TCE
5
TCS
111 1 : 256 1 : 128 Prescaler assignment bit : 0 X RTCC 1 X Watchdog Timer RTCC signal Edge : 0 X Increment on low-to-high transition on RTCC pin 1 X Increment on high-to-low transition on RTCC pin RTCC signal set : 0 X Internal instruction cycle clock 1 X Transition on RTCC pin
(9) CPIO A, CPIO B (Control Port I/O Mode Register) The CPIO register is "write-only" x"0", I/O pin in output mode; x"1", I/O pin in input mode.
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 4
2005/6
Ver. 1.4
MDT2030(AE)
(10) Configurable options for EPROM (Set by writer) : Oscillator Type RC Oscillator Oscillator Start-up Time 150 s,20ms,40ms,80ms 20 ms,40ms,80ms 20ms,40 ms,80ms 40 ms,80 ms
HFXT Oscillator XTAL Oscillator LFXT Oscillator
Watchdog Timer control Watchdog timer disable all the time Watchdog timer enable all the time
Power Edge Detect PED Disable PED Enable
Security state Security weak Disable Security Disable Security Enable
The default security state of EPROM is weak disable. Once the IC was set to enable or disable, it's forbidden to change. (B) Program Memory Address 000-7FF 7FF Program memory The starting address of power on, external reset or WDT time-out reset. Description
8. Reset Condition for all Registers
Register CPIO A CPIO B TMR IAR RTCC PC STATUS MSR Address 00h 01h 02h 03h 04h Power-On Reset 1111 1111 1111 1111 --11 1111 xxxx xxxx 1111 1111 0001 1xxx 100x xxxx /MCLR or WDT Reset 1111 1111 1111 1111 --11 1111 uuuu uuuu 1111 1111 000# #uuu 100u uuuu
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 5
2005/6
Ver. 1.4
MDT2030(AE)
Register PORT A PORT B Address 05h 06h Power-On Reset - - - - xxxx xxxx xxxx /MCLR or WDT Reset - - - - uuuu uuuu uuuu
Note : uxunchanged, xxunknown, - xunimplemented, read as "0" #xvalue depends on the condition of the following table
Condition /MCLR reset (not during SLEEP) /MCLR reset during SLEEP WDT reset (not during SLEEP) WDT reset during SLEEP
Status: bit 4 u 1 0 0
Status: bit 3 u 0 1 0
9. Instruction Set :
Instruction Code 010000 00000000 010000 00000001 010000 00000010 010000 00000011 010000 00000100 010000 00000rrr 010001 1rrrrrrr 011000 trrrrrrr 111010 iiiiiiii 010111 trrrrrrr 011001 trrrrrrr 011010 trrrrrrr 011011 trrrrrrr 011100 trrrrrrr 011101 trrrrrrr 011110 trrrrrrr 010010 trrrrrrr 110100 iiiiiiii 010011 trrrrrrr 110101 iiiiiiii Mnemonic Operands NOP CLRWT SLEEP TMODE RET CPIO R STWR R LDR R, t LDWI I SWAPR R, t INCR R, t INCRSZ R, t ADDWR R, t SUBWR R, t DECR R, t DECRSZ R, t ANDWR R, t ANDWI i IORWR R, t IORWI i No operation Clear Watchdog timer Sleep mode Load W to TMODE register Return Control I/O port register Store W to register Load register Load immediate to W Swap halves register Increment register Increment register, skip if zero Add W and register Subtract W from register Decrement register Decrement register, skip if zero AND W and register AND W and immediate Inclu. OR W and register Inclu. OR W and immediate Function Operating None 0/WT 0/WT, stop OSC W/TMODE Stack/PC W/CPIO r W/R R/t I/W [R(0~3) R(4~7)] /t R + 1/t R + 1/t W + R/t R W/t or (R+/W+1/t) R 1/t R 1/t R a W/t i a W/W R a W/t i a W/W TF, PF TF, PF None None None None Z None None Z None C, HC, Z C, HC, Z Z None Z Z Z Z Status
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 6
2005/6
Ver. 1.4
MDT2030(AE)
Instruction Code 010100 trrrrrrr 110110 iiiiiiii 011111 trrrrrrr 010110 trrrrrrr 010101 trrrrrrr 010000 1xxxxxxx 010001 0rrrrrrr 0000bb brrrrrrr 0010bb brrrrrrr 0001bb brrrrrrr 0011bb brrrrrrr 1000nn nnnnnnnn 1010nn nnnnnnnn 110000 nnnnnnnn 110001 iiiiiiii 11001n nnnnnnnn Mnemonic Operands XORWR R, t XORWI i COMR R, t RRR RLR CLRW CLRR BCR BSR R R, b R, b R, t R, t Function Exclu. OR W and register Exclu. OR W and immediate Complement register Rotate right register Rotate left register Clear working register Clear register Bit clear Bit set Bit Test, skip if clear Bit Test, skip if set Long CALL subroutine Long JUMP to address Call subroutine Return, place immediate to W n JUMP to address Operating R o W/t i o W/W /R/t R(n) /R(n-1), C/R(7), R(0)/C R(n)/r(n+1), C/R(0), R(7)/C 0/W 0/R 0/R(b) 1/R(b) Skip if R(b)=0 Skip if R(b)=1 n/PC, PC+1/Stack LJUMP n CALL RTWI JUMP n i n/PC n/PC, PC+1/Stack Stack/PC,i/W n/PC None None None None Z Z None None None None None C Status Z Z Z C
BTSC R, b BTSS R, b LCALL n
Note : W WT TMODE CPIO TF PF PC OSC Inclu. Exclu. AND : : : : : : : : : : : Working register Watchdog timer TMODE mode register Control I/O port register Timer overflow flag Power loss flag Program Counter Oscillator Inclusive `a' Exclusive `o' Logic AND `a' b t : : 0 1 : : : : : : : : Bit position Target : Working register : General register General register address Carry flag Half carry Zero flag Complement Don't care Immediate data ( 8 bits ) Immediate address
R C HC Z / x i n
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 7
2005/6
Ver. 1.4
MDT2030(AE)
10. Electrical Characteristics (Operating temperature at 25J). Sym Description Condition Min 2.3 Vdd=5V Vdd=5V Vdd=5V Vdd=5V Vdd=5V Vdd=5V, IOL=20mA Vdd=5V, IOL=5mA Vdd=5V, IOH= -20mA Vdd=5V, IOH= -5mA Vddx 2.3 ~ 5.5 V Vddx Vddx Vddx Vddx Vddx 2.3 V 3.0 V 4.0 V 5.0 V 5.5 V 1.1 Vddx Vddx Vddx Vddx Vddx 2.3 V 3.0 V 4.0 V 5.0 V 5.5 V 25.6 22.4 19.6 17.6 16.9 600 15 0.4 0.1 3.8 4.5 0.1 1 3 8 17 25 1.3 1.0 -0.6 -0.6 2.0 3.2 Typ Max 5.5 1.0 1.0 Vdd Vdd +/-1 Uni t V V V V V A V V V V A A A A A A V mS mS mS mS mS nS A Vdd-0.8 V v
Vdd Operating voltage VIL Input Low Voltage PA, PB RTCC, /MCLR VIH Input high Voltage PA, PB RTCC, /MCLR IIL Input leakage current VOL Output Low Voltage PA, PB VOH Output High Voltage PA, PB Islp Islp Sleep current (WDT disable) Sleep current (WDT enable)
Vpr Power Edge-detector Reset Voltage Twdt The basic WDT time-out cycle time
TFLT /MCLR filter
Vddx 5.0 V
Icc Comparator Supply current (one Vdd=5.0v comparator) Vref Input reference voltage Vdd=2.5v ~5.5v
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 8
2005/6
Ver. 1.4
MDT2030(AE)
Sym Description Comparator Response time V-=Vdd/4, V+=V- 0.2v V-=Vdd/2, V+=V- 0.2v V-=Vdd3/4, V+=V- 0.2v V-=VDD-0.8,V+=V 0.2v Condition Vdd=5.0v , V- = Vref V+ = (PA0~PA3) Min Typ Max Uni t S S S S
---
8 8 8 8
11. Operating Current Temperaturex25 J, the typical value as followings : 11.1 OSC TypexRC ; WDTEnable; Comparator DisableQ PED=DisableQ Vdd=5.0V Cext. (F) Rext. (Ohm) 4.7 K 10.0 K 3P 47.0 K 100.0 K 300.0 K 470.0 K 4.7 K 10.0 K 20P 47.0 K 100.0 K 300.0 K 470.0 K 4.7 K 10.0 K 100P 47.0 K 100.0 K 300.0 K 470.0 K Frequency (Hz) 11.88M 5.98M 1.34M 640K 217.2K 136K 5.6M 2.78M 622.4K 297.2K 100.8K 63.2K 1.85M 916K 201.6K 95.6K 32.4K 20.3K Current (A) 1.65 mA 900 A 295 A 205 A 145 A 135 A 860 A 500 A 210 A 160 A 135 A 130 A 365 A 235 A 145 A 130 A 125 A 120 A
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 9
2005/6
Ver. 1.4
MDT2030(AE)
Cext. (F) Rext. (Ohm) 4.7 K 10.0 K 300P 47.0 K 100.0 K 300.0 K 470.0 K Frequency (Hz) 710.4K 352K 75.8K 36K 12.2K 7.6K Current (A) 210 A 160 A 125 A 120 A 115 A 110 A
11.2 OSC TypexLF (OSC1&OSC2 External Cap about 20P); WDTDisable ; Comparator DisableQ PED=Enable Voltage/Frequency 32 K(Ext=30p) 2.1 V 3.0 V 4.0 V 5.0 V 5.5 V 3.5A 8.5A 25A 65A 105A 455 K 21A 45A 75A 120A 155A 1M 37A 65A 110A 165A 205A Sleep O1.0 A O1.0 A O1.0 A O1.0 A 40 A
11.3 OSC TypexXT (OSC1&OSC2 External Cap about 20P); WDTEnable ; Comparator DisableQ PED=Enable Voltage/Frequency 2.1 V 3.0 V 4.0 V 5.0 V 5.5 V 1M 55A 125A 235A 410A 500A 4M 155A 290A 470A 710A 845A 10 M 340A 580A 890A 1.3mA 1.5mA Sleep O1.0 A 3 A 8 A 17 A 25 A
11.4 OSC TypexHF (OSC1&OSC2 External Cap about 20P); WDTEnable ; Comparator Disable Voltage/Frequency 2.3 V 3.0 V 4.0 V 5.0 V 5.5 V 4M 190A 325A 530A 820A 1.1mA 10 M 400A 625A 960A 1.5mA 1.7mA 20 M 700A 1.2mA 1.7mA 2.6mA 3.1mA Sleep O1.0 A 3 A 8 A 17 A 25 A
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 10
2005/6
Ver. 1.4
MDT2030(AE)
12. Port A and Port B Equivalent Circuit
Q I/O Control Latch I/O Control CK QB
D
Port I/O Pin D Write Data O/P Latch G QB
Data Bus Read
QB G
D Data I/P Latch
Input Resistor TTL Input Level
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 11
2005/6
Ver. 1.4
MDT2030(AE)
13. MCLRB and RTCC Input Equivalent Circuit
MCLRB
R U 1 K
Schmitt Trigger
RTCC
R U 1 K
Schmitt Trigger
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 12
2005/6
Ver. 1.4
MDT2030(AE)
14. External Capacitor Selection For Crystal Oscillator
@ Vddx 5.0 V Osc. Type Resonator Freq. 20 MHz HF 10 MHz 4 MHz 10 MHz XT 4 MHz 1 MHz 1 MHz LF 455 K 32 K Capacity Range 10 pF ~ 50 pF 20 pF ~ 50 pF 10 pF ~ 30 pF 10 pF ~ 50 pF 10 pF ~ 50 pF 20 pF ~50 pF 20 pF ~ 30 pF 20 pF ~30 pF 20 pF ~30 pF
MDT2030 OSC1 OSC2
C1
C2
To increase the stability of oscillator and the ability of anti-noise, the above values of the external capacitor are for reference only, but the higher capacitance also increases the start-up time.
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 13
2005/6
Ver. 1.4


▲Up To Search▲   

 
Price & Availability of MDT2030

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X